cl349@firebug.cl.cam.ac.uk [Tue, 6 Sep 2005 18:29:53 +0000 (18:29 +0000)]
merge?
cl349@firebug.cl.cam.ac.uk [Tue, 6 Sep 2005 18:29:27 +0000 (18:29 +0000)]
Use @releaseDomain watch-events.
This replaces listening to the domain exception virq through xcs.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Tue, 6 Sep 2005 18:27:01 +0000 (18:27 +0000)]
Tiny printk info cleanup.
kaf24@firebug.cl.cam.ac.uk [Tue, 6 Sep 2005 18:25:00 +0000 (18:25 +0000)]
The attached patch fixes two problems I ran into with the swiotlb code
in unstable (changeset
aeaa3c83f6e5). Tested on a dual Opteron x86-64
machine with 4GB of memory and a tg3 modified to only DMA below 2GB.
- swiotlb_dma_supported() checked that the device DMA mask was equal
or bigger than 4GB, when in fact all that's needed is that the device
be able to DMA into the swiotlb aperture (1GB on my AMD x86-64
machine). Some device are actually only 31-bit DMA capable, so this
would've tripped them.
- On some platforms, PCI unmaps and syncs are nops, so there's no need to
keep track of the dma_addr they need after the initial mapping. The
DMA API supports this via the DECLARE_PCI_UNMAP_ADDR macros (see
Documentation/DMA-mapping.txt). Since the swiotlb code does make us of
the dma_addr for swiotlb_unmap_xxx and (more importantly)
swiotlb_dma_sync_xxx, we need to define them to something
meaningful.
Signed-Off-By: Muli Ben-Yehuda <mulix@mulix.org>
cl349@firebug.cl.cam.ac.uk [Tue, 6 Sep 2005 18:18:56 +0000 (18:18 +0000)]
Exit if xen_setup fails.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 6 Sep 2005 18:15:06 +0000 (18:15 +0000)]
Add @releaseDomain watch-event.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 6 Sep 2005 18:14:31 +0000 (18:14 +0000)]
Destroy domain before cleaning it up.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Tue, 6 Sep 2005 18:01:24 +0000 (18:01 +0000)]
phys_to_mach and mach_to_phys tables contain long entries, not
32-bit entries.
Signed-off-by: Keir Fraser <keir@xensource.com>
cl349@firebug.cl.cam.ac.uk [Tue, 6 Sep 2005 17:43:36 +0000 (17:43 +0000)]
Add xcs to include path for xcs_proto.h.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 6 Sep 2005 17:18:28 +0000 (17:18 +0000)]
Disable xcs stop from xend script since it kills xenstored now.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 6 Sep 2005 17:00:25 +0000 (17:00 +0000)]
merge?
cl349@firebug.cl.cam.ac.uk [Tue, 6 Sep 2005 16:59:14 +0000 (16:59 +0000)]
Make xenstored listen to domain exception virqs.
The virq triggers a scan for domains which have gone away, and then
removes those domains.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Tue, 6 Sep 2005 16:10:22 +0000 (16:10 +0000)]
Avoid warn_unused error on read() return value.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 6 Sep 2005 15:47:23 +0000 (15:47 +0000)]
Enable xenstored optimisations.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 6 Sep 2005 15:31:34 +0000 (15:31 +0000)]
Reducing LOC (always a good thing) by eliminating duplicated functionality.
vmx_platform.c/inst_copy_from_guest() now uses vmx_copy. Also shored up
vmx_copy to handle copies when paging is enabled and improved its error
handling.
Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
cl349@firebug.cl.cam.ac.uk [Tue, 6 Sep 2005 13:43:28 +0000 (13:43 +0000)]
Update consoled to use xs_get_domain_path and cleanup domain tracking code.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Tue, 6 Sep 2005 09:44:58 +0000 (09:44 +0000)]
Fix vmalloc fault path in arch/xen/i386 to correctly deal
with _PAGE_PRESENT being missing from init_mm's pmd
entry (*pmd_k).
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 5 Sep 2005 20:05:58 +0000 (20:05 +0000)]
Fix 64-bit build.
kaf24@firebug.cl.cam.ac.uk [Mon, 5 Sep 2005 19:53:44 +0000 (19:53 +0000)]
Fix PCI iomem resource fixup.
Signed-off-by: Keir Fraser <keir@xensource.com>
cl349@firebug.cl.cam.ac.uk [Mon, 5 Sep 2005 19:43:04 +0000 (19:43 +0000)]
Add @introduceDomain event-watch and replace consoled watch on /console.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Mon, 5 Sep 2005 18:55:08 +0000 (18:55 +0000)]
Fix command line argument parsing.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Mon, 5 Sep 2005 18:53:08 +0000 (18:53 +0000)]
Add -Werror to xenstore build and fix failure.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Mon, 5 Sep 2005 17:51:55 +0000 (17:51 +0000)]
Fix the balloon driver to do work in smaller batches, and
not use a vmalloc'ed mfn list which may not be mapped into
all page tables.
Signed-off-by: Keir Fraser <keir@xensource.com>
cl349@firebug.cl.cam.ac.uk [Mon, 5 Sep 2005 17:21:08 +0000 (17:21 +0000)]
Add missing libxenstore.so dependency for xenstore client programs.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Mon, 5 Sep 2005 16:00:03 +0000 (16:00 +0000)]
Rename XS_GET_DOMAIN_PATH to XS_GET_DOMAIN_PATH and add libxenstore binding.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Mon, 5 Sep 2005 15:46:12 +0000 (15:46 +0000)]
Fix typo.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Mon, 5 Sep 2005 15:32:14 +0000 (15:32 +0000)]
On suspend, canonicalize store and console mfns in the guest.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Mon, 5 Sep 2005 14:54:05 +0000 (14:54 +0000)]
merge?
cl349@firebug.cl.cam.ac.uk [Mon, 5 Sep 2005 14:53:39 +0000 (14:53 +0000)]
Get rid of suspend record, start info holds all the info now.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Mon, 5 Sep 2005 14:48:44 +0000 (14:48 +0000)]
Pass live flag as number, not "True"/"False".
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Mon, 5 Sep 2005 14:45:19 +0000 (14:45 +0000)]
Only remove domain from store once it's suspended.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Mon, 5 Sep 2005 14:04:36 +0000 (14:04 +0000)]
Keep start_info in page provided by domain builder instead of making a copy.
- page is moved next to store/console pages -- these are never put in the
free page pool by the domain
- xen_start_info is now a pointer to the original page instead of the copy
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
iap10@firebug.cl.cam.ac.uk [Mon, 5 Sep 2005 11:20:14 +0000 (11:20 +0000)]
CRAMFS needs to be compiled in to xen_defconfig_x86_64 not a module.
Signed-off-by: ian@xensource.com
cl349@firebug.cl.cam.ac.uk [Mon, 5 Sep 2005 08:23:05 +0000 (08:23 +0000)]
Free grant reference when block device shuts down.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Mon, 5 Sep 2005 08:22:21 +0000 (08:22 +0000)]
merge?
cl349@firebug.cl.cam.ac.uk [Mon, 5 Sep 2005 08:21:58 +0000 (08:21 +0000)]
Suspend console after xenbus, resume console before xenbus.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
shand@ubuntu.eng.hq.xensource.com [Sun, 4 Sep 2005 23:51:39 +0000 (15:51 -0800)]
Fix build.
Signed-off-by: Steven Hand <steven@xensource.com>
cl349@firebug.cl.cam.ac.uk [Sun, 4 Sep 2005 22:45:45 +0000 (22:45 +0000)]
Fix build.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
akw27@arcadians.cl.cam.ac.uk [Sun, 4 Sep 2005 21:19:44 +0000 (21:19 +0000)]
Updates to blktap driver and user code.
Mostly this makes the tap code work again with all of the changes that
have happened to the block drivers recently. We now use a shared page
per VBD (to the driver), and handle control information through the
store. The taplib interfaces have changed to be based around per-vbd
data structures that you can attach arbitrary handlers for.
There is also initial code for a user-level blockback driver, which
aims to get around the use of loopbacks for file-based vbds. Still
plenty of work to do here -- this is a working incremental checkin and
I'm away from this for the next four weeks.
Signed-off-by: Andrew Warfield <andrew.warfield@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Sun, 4 Sep 2005 15:08:16 +0000 (15:08 +0000)]
Fix build dependency issue.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Sat, 3 Sep 2005 18:48:59 +0000 (18:48 +0000)]
merge?
cl349@firebug.cl.cam.ac.uk [Sat, 3 Sep 2005 18:48:39 +0000 (18:48 +0000)]
Update suspend/resume for new console code.
- translate console mfn to pfn
- unbind/bind console evtchn
- recover console mfn on restore
- trigger xenconsoled refresh after mfn is put in store
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
iap10@firebug.cl.cam.ac.uk [Sat, 3 Sep 2005 18:40:04 +0000 (18:40 +0000)]
merge fixup
cl349@firebug.cl.cam.ac.uk [Sat, 3 Sep 2005 18:24:46 +0000 (18:24 +0000)]
merge?
iap10@firebug.cl.cam.ac.uk [Sat, 3 Sep 2005 18:15:39 +0000 (18:15 +0000)]
merge
iap10@freefall.cl.cam.ac.uk [Sat, 3 Sep 2005 17:14:20 +0000 (17:14 +0000)]
Fix to allow -xen and -xen0 kernels to be used as unprivilged guests.
Signed-off-by: ian@xensource.com
cl349@firebug.cl.cam.ac.uk [Sat, 3 Sep 2005 16:58:50 +0000 (16:58 +0000)]
merge?
cl349@firebug.cl.cam.ac.uk [Sat, 3 Sep 2005 16:57:54 +0000 (16:57 +0000)]
Restore printk to output evtchn binding error.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Sat, 3 Sep 2005 16:54:38 +0000 (16:54 +0000)]
Add support in libxenstore for using the xenbus_dev store connection.
Also add simple read/write/rm clients for command line access to the
store (using the xenbus_dev store connection).
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Sat, 3 Sep 2005 16:52:12 +0000 (16:52 +0000)]
Add driver to use the kernel's xenbus connection from user-space.
The driver exports xs_talkv to user-space, allowing programs running in
the domain to use the kernel's xenbus connection. Intended use is driver
domain device configuration where the driver domain is not the domain
running xenstored.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
iap10@firebug.cl.cam.ac.uk [Sat, 3 Sep 2005 16:33:53 +0000 (16:33 +0000)]
Fix debug build that was broken by recent shadow pagetable checkin.
Signed-off-by: ian@xensource.com
cl349@firebug.cl.cam.ac.uk [Sat, 3 Sep 2005 16:32:53 +0000 (16:32 +0000)]
Free struct file file_private on release.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
shand@ubuntu.eng.hq.xensource.com [Sat, 3 Sep 2005 01:36:29 +0000 (17:36 -0800)]
Enable 'live' migration from a tools pov; prior to this the 'live' flag was
being ignored by xend/xc_linux_save.
Signed-off-by: Steven Hand <steven@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 2 Sep 2005 17:55:24 +0000 (17:55 +0000)]
Attached are the patches for new ioemu communication mechanism. The new
mechanism provides richer I/O operation semantics, such as and,or,xor
operation on MMIO space. This is necessary for operating systems such
as Windows XP and Windows 2003.
This is the first part of a two part patch. This patch applies to ioemu.
Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 2 Sep 2005 17:54:53 +0000 (17:54 +0000)]
Now that unaligned page overlapping PIO works for Xen, it is time to
eliminate the work around in the rombios.
Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 2 Sep 2005 17:54:34 +0000 (17:54 +0000)]
Attached are the patches for new ioemu communication mechanism. The new
mechanism provides richer I/O operation semantics, such as and,or,xor
operation on MMIO space. This is necessary for operating systems such
as Windows XP and Windows 2003.
This is the second part of a two part patch. This patch applies to xen.
Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 2 Sep 2005 17:53:52 +0000 (17:53 +0000)]
Various minor vmxassist cleanups.
Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 2 Sep 2005 17:53:34 +0000 (17:53 +0000)]
We need to be more precise and restore the %eip.
Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 2 Sep 2005 17:53:04 +0000 (17:53 +0000)]
Handle page overlapping copies.
Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 2 Sep 2005 17:52:37 +0000 (17:52 +0000)]
Qemu-dm dumps core with the pcnet device. This patches fixes it.
When pcnet_receive calls pcnet_poll, which polls the receive and the send
rings. Whenever there is an element in the send ring that is owned by
the Lance chip it will call pcnet_transmit and send it. When the element
is the endp(acket), pcnet_transmit will copy it out, send the packet
(qemu_send_packet) and then clear the owner bit. Somewherer along the
qemu_send_packet execution path, pcnet_recieve is called again, which
calls pcnet_poll and starts this whole process again. This very rapidly
leads to a stack overflow and crashes qemu.
The fix is simple, stop the recursion. Once the packet is copied into
qemu datatstructure (before qemu_send_packet is called!), the owner bit
on the ring element should be cleared.
Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 2 Sep 2005 17:02:08 +0000 (17:02 +0000)]
Fix preemption-check race in memory_op hypercall.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 2 Sep 2005 16:51:55 +0000 (16:51 +0000)]
Fix writing to mmap'ed /dev/mem region mapped PROT_WRITE
and MAP_PRIVATE. This is in fact a generic Linux bug.
Signed-off-by: Keir Fraser <keir@xensource.com>
cl349@firebug.cl.cam.ac.uk [Fri, 2 Sep 2005 14:20:12 +0000 (14:20 +0000)]
Install hotplug script(s) unconditionally.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Fri, 2 Sep 2005 14:17:08 +0000 (14:17 +0000)]
merge?
cl349@firebug.cl.cam.ac.uk [Fri, 2 Sep 2005 14:15:49 +0000 (14:15 +0000)]
Restore configurability of vif bring up script and passing arguments to the script.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Fri, 2 Sep 2005 10:04:42 +0000 (10:04 +0000)]
Mini-os fixes from Simon Kagstrom.
kaf24@firebug.cl.cam.ac.uk [Fri, 2 Sep 2005 10:04:11 +0000 (10:04 +0000)]
Missing shadow files.
kaf24@firebug.cl.cam.ac.uk [Fri, 2 Sep 2005 09:43:32 +0000 (09:43 +0000)]
This patch is to boot 32-bit VMX guest on the 64-bit host.
Double-compile is used to make both 64-bit guest and 32-bit guest can
work, the shadow page-table uses current 64-bit shadow code's structure
to simulate 32-bit guest's 2-level page-table.
Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 2 Sep 2005 09:02:13 +0000 (09:02 +0000)]
Clean up tools/check error reporting. Remove logging.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 2 Sep 2005 08:06:59 +0000 (08:06 +0000)]
New scripts I missed from previous security patch.
kaf24@firebug.cl.cam.ac.uk [Fri, 2 Sep 2005 07:59:12 +0000 (07:59 +0000)]
This patch:
* adds a get_ssid ACM command that allows privileged domains to retrieve
types for either a given ssid reference or a given domain id (of a running
domain); this command can be used to extend access control into device
domains, e.g., to control network traffic currently moving through Domain
0 uncontrolled by the ACM policy
* adds a script getlabel.sh that allows users inside Dom0 to retrieve the
label for a given ssid reference or a given domain id (multiple labels
might map onto a single ssid reference)
* cleans up label-related code in tools/security by merging common
functions into labelfuncs.sh
* cleans up ACM code related to above changes (eventually approximating a
common coding style)
Signed-off-by Reiner Sailer <sailer@us.ibm.com>
Signed-off by Stefan Berger <stefanb@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 2 Sep 2005 07:55:45 +0000 (07:55 +0000)]
Make the check script log to /tmp instead of the working directory. This
allows us to install from a read-only file system (such as a cdrom).
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 2 Sep 2005 07:55:22 +0000 (07:55 +0000)]
I've found cramfs to be very useful for simplifying Xen testing with QEMU.
Also, I imagine cramfs is used frequently for initrds so it's probably a good
idea to support it out of the box.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 2 Sep 2005 07:53:46 +0000 (07:53 +0000)]
The attached patch makes xend clear the reboot request from the store
when rebooting a domain. This prevents the lingering request from
being re-fulfilled, such as when executing a subsequent sysrq request.
Signed-off-by: Dan Smith <danms@us.ibm.com>
shand@ubuntu.eng.hq.xensource.com [Fri, 2 Sep 2005 04:19:34 +0000 (20:19 -0800)]
Fix save/restore when using grant tables in network, robust-ify netback
against bogus front-end drivers, plus various small cleanups. Note that
there is now only /one/ config option controlling the use of grant tables
with networking (not separate ones for rx and tx).
An outstanding issue is that console reconnect after a restore causes badness.
Signed-off-by: Steven Hand <steven@xensource.com>
shand@ubuntu.eng.hq.xensource.com [Thu, 1 Sep 2005 19:09:16 +0000 (11:09 -0800)]
Fix build dependency for the XEN tpm driver.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 1 Sep 2005 15:31:12 +0000 (15:31 +0000)]
Better Xen backtraces in debug builds (follow the
stack frame pointer).
Signed-off-by: Keir Fraser <keir@xensource.com>
cl349@firebug.cl.cam.ac.uk [Thu, 1 Sep 2005 10:45:50 +0000 (10:45 +0000)]
Fix network setup through hotplug on SUSE.
Move the hotplug script from /etc/hotplug.d/xen-backend/backend.hotplug
to /etc/hotplug/xen-backend.agent, which seems to be a more common place
for the script.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
--HG--
rename : tools/examples/backend.hotplug => tools/examples/xen-backend.agent
cl349@firebug.cl.cam.ac.uk [Thu, 1 Sep 2005 10:38:57 +0000 (10:38 +0000)]
Hook up sysrq for xencons.
Having sysrq is regularly handy. Following in the tradition set by the
various consoles for virtual ppc stuff, the sysrq key is ^O.
Signed-off-by: Jeremy Katz <katzj@redhat.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Thu, 1 Sep 2005 10:26:17 +0000 (10:26 +0000)]
Fix closing of /var/log/xend.log fd
Fix the problem where /var/log/xend.log was getting closed and then
/var/log/xend-debug was getting all the spam about the fd being closed
in the logging stuff.
Basically what was happening is that the main thread wasn't sticking
around and during its exit, the atexit handlers of the python logging
stuff got called closing the log fd.
Patch makes it so that we instead wait on the real server threads to
exit before shutting things down.
Signed-off-by: Jeremy Katz <katzj@redhat.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Thu, 1 Sep 2005 10:16:40 +0000 (10:16 +0000)]
remove random file
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Thu, 1 Sep 2005 10:16:14 +0000 (10:16 +0000)]
merge?
cl349@firebug.cl.cam.ac.uk [Thu, 1 Sep 2005 10:08:53 +0000 (10:08 +0000)]
Cleanup domain listing.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Thu, 1 Sep 2005 09:57:20 +0000 (09:57 +0000)]
Fix xm list for when info is requested for individual domains.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Thu, 1 Sep 2005 09:37:54 +0000 (09:37 +0000)]
Avoid code duplication between stringified and
non-stringified asm macros, by stringifying on use
where that is needed.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 1 Sep 2005 09:07:10 +0000 (09:07 +0000)]
Use entry_get_paddr(l1e) to get the PFN
Otherwise software used bits might get in the way.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 1 Sep 2005 09:04:06 +0000 (09:04 +0000)]
Tiny build fix for gcc 4.0.1
Signed-off-by: Christopher Clark <christopher.clark@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Thu, 1 Sep 2005 09:01:15 +0000 (09:01 +0000)]
VTPM is off by default.
cl349@firebug.cl.cam.ac.uk [Thu, 1 Sep 2005 08:25:22 +0000 (08:25 +0000)]
Linux 2.6 cleanups.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Thu, 1 Sep 2005 08:11:16 +0000 (08:11 +0000)]
Remove curl checks. Patch from Anthony Liguori.
shand@ubuntu.eng.hq.xensource.com [Wed, 31 Aug 2005 23:22:45 +0000 (15:22 -0800)]
merge?
shand@ubuntu.eng.hq.xensource.com [Wed, 31 Aug 2005 22:37:21 +0000 (14:37 -0800)]
Fix vtpm build when doing 'make dist' (particularly when not root).
Signed-off-by: Steven Hand <steven@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 31 Aug 2005 14:53:43 +0000 (14:53 +0000)]
Fix non-SMP build, broken by the previous changeset.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 31 Aug 2005 14:20:56 +0000 (14:20 +0000)]
Fix DEBUG_PREEMPT builds. irq_disabled() macro must not use
smp_processor_id(). Use the underlying function instead.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 31 Aug 2005 12:56:42 +0000 (12:56 +0000)]
Disallow domain 0 access to certain I/O port ranges
(Master/Slave PICs, PIT, Speaker Control). Modifying
these can seriously harm Xen's health.
Signed-off-by: Keir Fraser <keir@xensource.com>
vh249@arcadians.cl.cam.ac.uk [Wed, 31 Aug 2005 10:39:53 +0000 (10:39 +0000)]
extends xm info with xen version and various others information.
exports version hypercall to userspace
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
cl349@firebug.cl.cam.ac.uk [Wed, 31 Aug 2005 10:24:43 +0000 (10:24 +0000)]
Wait a little bit for tty to appear.
There is a race condition that occurs after xend creates a domain.
The console client might be running before the console daemon has
noticed the new domain and setup a pty for it.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Wed, 31 Aug 2005 09:32:52 +0000 (09:32 +0000)]
merge?
kaf24@firebug.cl.cam.ac.uk [Wed, 31 Aug 2005 08:45:10 +0000 (08:45 +0000)]
This patch adjusts the plan9 loader to start "physical" ram at
0x80000000 virtual rather than the virtual address of the kernel
image (which is higher).
Tim Newsham
kaf24@firebug.cl.cam.ac.uk [Wed, 31 Aug 2005 08:43:57 +0000 (08:43 +0000)]
Add back missing part of XenLinux acpi/boot.c.
This fixes bug #76 (IRQ sharing fails under load).
Signed-off-by: Natasha Jarymowycz <natasha@us.ibm.com>